<template>
    <div :class="className" :style="{height:height,width:width,overflow:overflow}">
        <div v-if="false" class="ag_item" v-for="item in cont">
            <span class="ag_quan ag_four" :style="{color:item.color,borderColor:item.color}">
                {{item.ico}}
            </span>
            <span class="ag_con">
                {{item.contet}}
            </span>
        </div>

        <div class="ag_no">
            暂未开发
        </div>
    </div>
</template>

<script>

    require('echarts/theme/macarons')
    import resize from './mixins/resize'
    export default {
        name: '',
        mixins: [resize],
        props: {
            className: {
                type: String,
                default: 'chart'
            },
            width: {
                type: String,
                default: '100%'
            },
            height: {
                type: String,
                default: '350px'
            },
            overflow: {
                String,
                default: 'auto'
            }
        },
        data() {
            return {
              cont:[
                {
                  color:'',
                  contet:'测试测试测试测试',
                  ico:'未完成'
                },
                {
                  color:'red',
                  contet:'测试测试测试测试',
                  ico:'完成'
                },
                {
                  color:'pink',
                  contet:'测试测试测试测试',
                  ico:'完成了么'
                }
              ]
            }
        },
        created() {

        },
        methods: {

        }
    }
</script>

<style scoped>
    .ag_quan {
        display: inline-block;
        padding: 0 5px;
        height: 20px;
        border-radius: 10px;
        font-size: 12px;
        text-align: center;
        margin-right: 8px;
        padding-top: 2px;
    }

    .ag_item {
        height: 40px;
        display: flex;
        align-items: center;
        overflow: hidden;
        flex-wrap: wrap;
        width: 100%;
        overflow: auto;
    }



    .ag_no {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #999;
        font-weight: 500;
        font-size: 18px;
    }

    .ag_con {
        font-size: 14px;
        color: #999;
    }

    .ag_one {
        color: #4fcdcc;
        border: 2px solid #4fcdcc;
    }

    .ag_two {
        color: #6b65f0;
        border: 2px solid #6b65f0;
    }

    .ag_three {
        color: #7bc7ff;
        border: 2px solid #7bc7ff;
    }

    .ag_four {
        color: #e7c711;
        border: 2px solid #e7c711;
    }
</style>
